Quitting prayer is one of the major grave sins that come after disbelieving in Allah, but the wife of such a person isn`t considered divorced, rather, she should exert all her efforts in order to bring him back to the way of Islam. However, if his sin is likely to lure her from the way of Islam, then she had better separate from him by lawful means such as Mokhal`aa (When a wife pays a compensation for her husband in return for divorcing her). Moreover, if she exercises patience, and remains steadfast on her faith, then there is no harm in doing that.