The answer really depends on whether the illegal person came to the U.S. with a valid visa and was inspected on the border, or not...

You may want to consult with a competent U.S. immigration lawyer.

This reply is in the nature of general information, not legal advice and should not be relied on as such.

Alex Berd, Esq.