It is not permissible for her to do that, but she can raise her case to the legal ruler (the mujtahid), and he will give him the choice between living with her in a kind manner, spending on her and divorcing her. If he refused to do so, the legal ruler will divorce her.