(a) A person is not guilty of an offense, other than an offense punishable with death, by reason of conduct that he or she performs under the compulsion of threat or menace of the imminent infliction of death or great bodily harm, if he or she reasonably believes death or great bodily harm will be inflicted upon him or her, or upon his or her spouse or child, if he or she does not perform that conduct.
     (b) A married woman is not entitled, by reason of the presence of her husband, to any presumption of compulsion or to any defense of compulsion, except that stated in subsection (a).