I think your wife needs to see a psychiatrist, as soon as possible. They can help her with some meds, which it would seem that she needs.
Deal with her lovingly and patiently, but don't change your boundaries nor your stance. Remind her frequently that you DON'T want to divorce her, you DIDN'T say to move out of her bed and she's welcome to sleep with you, and that you DO want to work on your marriage if she is willing.
This is huge, and probably at the deep root to most of this:
Quote:
Her Mom is mentally ill and walked out when my W was 6.
If she threatens to hurt herself, call the police immediately.