If I were married to someone and I thought they were innocent of whatever the crime was, I would stick it out.
Otherwise, as soon as I found out that they had commited a crime punishable by 10 years, I would dump their ass. I don't date felons, as a rule...lol.