Workers living in the country illegally are still required to pay taxes on any income earned in the United States, and it’s estimated that at least half of them file federal tax returns. But even if they have contributed to payroll taxes, they are not permitted to collect any Social Security benefits and many other credits, including the earned-income tax credit, which requires that all tax filers and their dependents have valid Social Security numbers.