Yes I'm required to stay outside of my home country for at least 6 months of the year + some other stuff in order to not be tax liable back home.
But, if I don't stay outside of my home country for 6 months of the year and wanted to do
offshore tax planning... I would likely have to break laws or do even more expensive solutions in order to be covered. So, in most cases, if you want to do everything legally and be free like a bird, you will probably have to get residency in another country and not spend to much time back home.
Personally, I don't even want to stay in my hone country for more than 6 months a year so works fine! It's about exploring the world guys!