Yes because it will prevent voter fraud but it should not undermine those who cannot obtain one
Such as allowing those who cannot obtain one bring some sort of identification that will freely allow them to give a vote without worrying of being arrested, detained, or sent back to their country.