Don't be silly. NOT analogous.
Of course it’s analogous.
People who were brought to the United States illegally by their parents have gained residence through the illegal actions of their parents just as the children of the bank robber are living in the house bought through illegal means. They have no more right to continued residence than the bank robber’s kids. Now you can feel as sorry as you like for either set of kids but neither has any right to the residence that was stolen for them, and the fact that they had nothing to do with the theft they are benefiting from is irrelevant.
That is perfectly logical and indeed just. What would be unjust is to allow them to enjoy special status over and above that of the millions of people who are waiting in line as the law requires (I never did like line-jumpers, BTW.)
Now, if you wish to confer charitable actions upon them, that is your right as a decent human being, but it is not the job of the government. The government’s job is to enforce the law equally.