If your overstay is more than 180 days, your only option is for your spouse to file USCIS Form N-400 to become a US citizen. Once your spouse has obtained their US citizenship, you can then file USCIS Form I-485 Adjustment of Status while remaining inside the United States.