The question is whether you have to be in the United States legally in the first place. Or if it doesn't matter. If it doesn't matter I would question the rationale. As it would basically mean that every single illegal alien can just apply for asylum when caught and get to stay.