I read that a country is a distinct national entity in political geography
Did you? That sounds about right. There are many countries in the world.
Yes, it can be an indepent sovereign state or one that is occupied by another state as a non-sovereign state
Do you know what the most advanced countries in the world are?
No I don't do you?  regardless of where a country is a resident of that country is subject to the independent exercise of legal jurisdiction