Tax residency, the 183-day rule, territorial tax countries, exit tax and staying compliant while you move.