Going for a 30-90 days to a country usually means you rent a short term overpriced Airbnb. With longer visa you can get a normal one-year lease, for most likely the same price.
For example if you own any stocks and become tax resident, then leave and break tax residency, you may often owe an "exit tax" on your unrealized stock gains.
Even stocks in your retirement accounts like IRA may not be treated as tax advantaged by another country.