You can still apply for permanent residency based on your marriage IF your spouse is a US Citizen. However, if you are in removal proceedings, I highly recommend hiring an attorney. The process can be quite complex navigating the I-130 filing and the removal proceedings based on marriage. Also, depending on the timing of your marriage with regard to the start of removal proceedings, the law may assume that your marriage is fraudulent. It can be done, but you and your spouse need to work in a coordinated effort with any attorney you hire.
Answered on Oct 30th, 2012 at 11:04 AM