Could one state in the US pass laws that restrict immigration from other states, or is this prevented by federal law?
It seems like a ridiculous idea now, but under some doomsday scenario in the future where resources are extremely scarce, I can see a state deciding it doesn’t want to share what it has with just anyone who wants to move there.
The Citizens of each State shall be entitled to all Privileges and Immunities of Citizens in the several States.
Thus, you can’t pass a law that only applies to particular state citizens.
There are residency requirements with regards to both taxes and voting, and in some circumstances you are required to be a resident in order to partake of certain benefits.
I came in here to bring up Edwards v. California as well. Note, however, that the main justification in the decision was not the Fourteenth Amendment but the Commerce Clause. The opinion also had a more philosophical objection to the law:
Sure, but that law applies to anyone who resides in the state.
The Constitution prohibits singling out groups from other states selectively. You can’t sat “people cannot move here from State X.” Or “Anyone from State y will immediately be arrested and sent home.”