Question: can an illegal immigrant get a green card while in the us?
Answer: The consequences of illegal entry are more complicated. If you entered the United States illegally (as opposed to overstaying), you cannot apply for a green card from inside the United States.