No, it's meant to determine which people have agreed to the social contract. Citizenship is not some sacred thing you must earn; simply agreeing to give up some freedom is all it takes to benefit from the social programs offered by a government.
The bureaucratic concept of "citizenship" is just a way for people to construct barriers of hate around the benefits offered by a nation while still forcing people to accept the sacrifices.