Illegal aliens are "fugitives from justice." As such they are prohibited persons.I agree with the underlying notion, but the "We" and "people" in "We the people" is referring to US citizens. It was written as such to flex on England and the monarchy in a display of self-reliance and self-governance. So the Second Amendment also applies to citizens, even if it states "people".
That said, I can also see the benefit of expanding 2A rights however it may be expanded. My issue with this approach though is the continued blessing of citizen rights to non-citizens, most of which could be considered "illegal". How is it that some dude who barely speaks English, has never paid taxes, and refuses to acculturate ends up with some of the same citizen benefits as me who has done all of the above over decades? I don't want to sound Xenophobic, and I do keep an open mind to actual immigration, but where's the line? To me, it should be immigration through legal means, naturalization, then congrats fellow American, here's a gun! I could even see legit green card/H1 visa holders being included.
Immigrants here in an immigration visa, as well as green card holders, are eligible to keep and bear arms as any US citizen.
Requiring a citizen to have a permanent address in a state is also a constitutional violation. It discriminates against people that move around due to a job. Also discriminates against the homeless.