1. The country where a person legally resides or maintains their primary domicile for tax, legal, or immigration purposes
For tax purposes, your resident country is where you spend most of the year.
Para fins fiscais, seu país de residência é onde você passa a maior parte do ano.
2. In international law and taxation, the nation in which an individual or entity is considered to have established their habitual residence
The treaty defines your resident country based on permanent home availability.
O tratado define seu país de residência com base na disponibilidade de residência permanente.