Both McCain and Obama support an eventual path to citizenship for millions of immigrants in the country illegally , although McCain , a senator from the border state of Arizona , has shifted his emphasis to securing the U.S. border before turning his focus back to overhauling immigration laws .