Most European countries use the 183-day rule plus a 'centre of life' test. Switzerland deems you tax-resident if you intend to stay more than 30 days for gainful activity or 90 days without. Germany applies a registered-address rule combined with day count. France and Italy use a four-step domicile test: home, principal residence, professional activity, economic interests.
Tax residency is independent of immigration status. A US citizen can be tax-resident in France even on a tourist visa, and a Swiss citizen working abroad can lose Swiss residency. Becoming non-resident requires a clear break — emptying the home, deregistering, moving family — not just a long vacation.
Dual residency (being taxable in two countries simultaneously) is resolved through tax-treaty tiebreaker rules: typically permanent home → centre of vital interests → habitual abode → nationality → mutual agreement. Proper residency planning can save five- or six-figure annual tax bills for internationally mobile professionals.
A French professional accepts a Zurich job, signs a CH lease and moves family in March. From April she is Swiss tax-resident on worldwide income and French non-resident on Swiss employment income. France retains taxing rights on her French rental income only.