How it differs by country
In the UK, 183 midnights in a tax year (6 April to 5 April) makes you automatically resident, but you can be resident on far fewer days depending on your ties. In the US, 183 is a weighted total over three calendar years. Other countries count calendar-year days or use any 12-month period.
Why under 183 is not automatically safe
Most systems also look at your home, family, work and where your life is centred. Tax treaties have their own tie-breaker rules when two countries both claim you. Treat the day count as the first check, not the answer.
Keep a record
Whatever the rule, the evidence is your travel history. A dated log of every trip is what an accountant or tax authority will ask for.
Questions
Is the 183-day rule the same everywhere?
No. Each country defines and counts it differently.
If I stay under 183 days, am I non-resident?
Not necessarily. Other connections can still make you resident.
Sources
Staymark counts days against published rules. This guide is general information, not legal, tax or immigration advice; rules change, so check the official sources above before you travel.