If you were not convicted of certain sex crimes involving minors, you can legally file the petition for her. The problem is that depending on how long you will stay in prison and if you can prove your relationship with her is bona fide, you may have hard time to convince the USCIS your marriage is real. You also need to sponsor her and in your case, you will need co-sponsor as you will be in prison and you will not have enough income. You better consult with immigration lawyer soon.
Answered on Nov 06th, 2013 at 1:14 PM