Same, but residence probably always require a time period. I think it highly depends on your actual citizenship and what tax agreements they have with Thailand etc.
I am not a tax resident in my home country anymore, since I already migrated to a different country (UAE). I am also not trying to avoid becoming a tax resident of Thailand, but as the law seems to state currently foreign sourced income is not being taxed there necessarily.