Buying in the US as a non-resident is definitely doable, but you'll need an ITIN (Individual Taxpayer Identification Number) first. Most lenders will require a 30-40% down payment for foreign nationals. If you are exploring global options, you might find it interesting to look at a
guide to buying property in Thailand for foreigners to see how different the requirements can be compared to the US.