No, my point was it doesn't matter to all the various Government taxing agencies where you are if you work in California, USA. You pay taxes in California and USA. Moving to Nevada or Thailand doesn't change that. You still owe tax in California and USA.
I don't understand why Thailand thinks they have anything to do with this transaction. Like I mentioned, the work is being done on a private network of servers in San Francisco. OK, you might be sitting in a Co-working space in Chiang Mai to connect to that network, but you're not getting paid in Thailand in Baht by a Thai corporation, so in my humble opinion you're not working in Thailand, but Thailand is receiving the benefits by providing everything you need to do that work digitally on a world wide web connected to your employers computers.
You're stimulating the local Thai economy.
For example, I just bought a new car made in Thailand with money I saved from working in California.
Does that benefit California or the USA? No. It benefits the people and country of Thailand. ✅