Hello,my name is ***** ***** I will be the immigration attorney helping you today.
Since you entered the US illegally, there is no way for you to get your greencard inside the US by marrying a US citizen. Once you are married and your girlfriend petitions you, then you need to apply for a waiver called I-601A. If your waiver gets approved, then unfortunately you still need to depart the US to your home country to get your immigrant visa (green card) there and then return to the US.
Good luck to you and I hope this answer has helped you!
Please kindly remember to choose a POSITIVE RATING now before you leave this page by choosing from the STARS. This is very important since it is how I receive credit for my service from what you paid. If you don't leave a rating, I receive no credit for my time.
If you are not satisfied with my answer or if I did not understand your question correctly, please ask me for clarification and I will be glad to clarify. Your satisfaction is my goal.
Also the question will NOT close after you rate me even though it says "To Finish.." So after rating me, feel free to ask me any follow up questions at no additional cost, don't worry. Any bonus you wish to provide will be very appreciated.
If you have other NEW questions in the future, you can make sure that I answer it for you if you start your new question post with the words "FOR JENNIFER " or write it in the Subject Line.