You need to have a legal status to stay in US legally and your marriage is irrelavant. But if your spouse becomes a US citizen, he can sponsor you to get green card within US even if you illegally stay.