He can pardon them for past crimes...and if they leave the country prior to the pardon, they can have their records completely cleared. But if are here at the moment of pardon, as others said, they are still breaking the law.
How can the President of the United States, pardon a foreigner for a civil offense?