A permit that a person must have in order to live in a country of which the person is not a citizen. Most countries impose legal restrictions on foreign nationals who want to settle or work in their country.