I imagine most people are familiar with the concept of country of residence, i.e. the country where you are physically living. There are other types of residence as well, like tax residence, which may not always be the same as your physical residence.