As long as nobody believes that workplace enforcement is the only viable solution.
That doesn't stop the illegals who cross for reasons that have nothing to do with traditional work. Like it or not (directed at pro-illegal-immigration types) not all illegals are good hard-working people with the same family values we have.
Get rid of their jobs and a place to live and it would get rid of a very large percentage of them.