Great idea, IMHO.
We don’t allow people who broke our laws to enter here, commit ID theft, fail to pay taxes, etc. to join our military.