If you are the spouse of a military member, or parent of a military member, or a child under 21 years of age of a military member and you entered the United States without inspection, you are eligible for what is called Military Parole in Place. This allows you to remain in the United States legally and gives you the ability to adjust your status to become a lawful permanent resident.
You must provide proof that your spouse, child, or parent (if you are a child under 21) is a member of the United States military or was honorably discharged or retired from the United States military by providing copies of their enlistment documents, military records, or retirement or discharge papers.
Once you have been granted Military Parole in Place, you are now eligible to adjust your status.