While closely related, country residence refers to your primary home or habitual place of living, whereas tax residency pertains to the country where you are liable to pay taxes. Tax residency rules can vary significantly by country and often depend on the length of stay and sources of income.