It isn't illegal to divorce someone with a chronic or even life-threatening illness. In fact, many Medicaid planners advise couples to divorce when one becomes terminally ill, so the ill spouse will qualify for benefits.

It's possible she could ask for more alimony, though her affair may weigh against her in that regard.

You'll want to have a sit-down with an attorney licensed to practice in your state to get the details sorted out.