Before 2013, if an undocumented immigrant wished to apply for a green card, he or she had to leave the United States and apply from his or her home country.  This problem often came up when a green card holder or an American citizen wished to sponsor a spouse, but the spouse entered the United...