If you entered the US unlawfully, under the current immigration laws, you will not be able to legalize your status within the US even if your spouse is a US citizen. You would need to go back to your home country to consular process for an immigrant visa but as soon as you depart the US, you will automatically trigger a 10 year bar to reentry, which can only be waived by a showing of extreme hardship to a US citizen spouse, which is usually fairly difficult.
Answered on Oct 31st, 2012 at 4:13 PM