@Jason ********
It depends on what the guidelines are for the country you are in. Some let you apply for visas if you are not a permanent resident and some do not. For example if you are in Laos you can apply for a tourist visa to Thailand, but if you are in China you cannot.
Evisa doesn't mean anything, it's just a method of applying, nothing to do with the policies itself.