A residency permit is not necessary for a citizen residing in their own country. If they would like to move to an alternative country, they must be granted permission to do so and this usually results in a residency permit to show that they are allowed to stay legally.