Citizenship and Residency in the Age of Technology