This is one of the reasons why, in my somewhat radical opinion, all taxes should be some form of sales tax. No income tax, etc. If you live in a country, you spend money in that country, and so you pay taxes in that country. No workarounds, no loopholes, no tax returns, no cognitive load, just extremely simple tax law.
(I know it's not quite that simple, but I think it's interesting to think about.)
(I know it's not quite that simple, but I think it's interesting to think about.)