As patio11 made abundantly clear in his article, banks are not homogeneous in their preferred customers, their ability to serve specific needs or their tolerance for risk. It may well be true that some banks don't like non-resident customers, but many banks offer products specifically tailored for these customers.
https://www.expat.hsbc.com/international-banking/products/ba...
https://www.santanderinternational.co.uk/international/produ...