This varies from country to country. Even if you can, it is unlikely as a retired person that you will be able to get a mortgage to buy housing in your new county. Most expats who do buy housing pay the full cash price. It is important to realize that the real estate rules in your retirement country are going to be very different than in the US, so it pays to educate yourself about these differences before making such a major purchase.
Post your comments and questions about this topic to any appropriate RetireAway Discussion Forum.