Friedman's argument was more so to just keep them as illegals but not deport them. That way they can support the welfare system but not use it. Friedman didn't want to make them legal until the welfare system has been crushed.
Of course that might require some changes to make it actually true illegals don't use state benefits. You need to cut off WIC for illegals, public schooling for illegals for instance before they will actually not be using public benefit. Also their children become legal via jus soli.
The obvious down-side is that those citizens / legal residents who have the skill level of illegal immigrants (sad, but commonly true) will see their real wages depressed and more competition for the job.