Yup, you need to at least talk to a lawyer. Understand your rights and obligations, then you can do whatever you want to, so long as you are willing to accept the consequences.
Sometimes it's best to walk away from what you are "entitled" to. You've been married less than a year. I assume you haven't owned the house much longer than that? With the housing market as it's been I doubt it has appreciated much (if at all) in value. Even though you might be "entitled" to some or all of any equity, you're probably mostly paying interest still at this point, and there is relatively little equity. The money you've paid on the mortgage you can think of as paying rent. You wouldn't get any money back after you leave a rental.
You want to make sure any credit ding against him doesn't rub off on you (hence the need to consult a lawyer), but if it doesn't, or there's a way to separate your credit now, you could walk away from the house and let him deal with it.