"I can't take this anymore and want to die. What is the best thing I can do?"
We cannot say which is the best way to die.
On the other hand, when you've decided to die, don't worry, your wife herself will kill you.
No one can help a looser or one who has already quit even before starting. Unless, you change your attitude I don't think any advice or suggestion will work.
Rephrase your question better.
The court is asking you to go for counseling, they haven't told you to stay together. So, go for counseling.
And best solution is to say in front of the court (perhaps not counselor), that you will gladly accept her if she immediately comes with you. Also, say that you want to keep your Divorce petition open or ask for a longer date (after 3 months) just in case your wife doesn't come.
When she is not ready to come with you, you should now say you want her, so that she herself will say that she can't live with you.
Now if she agrees to come with you, take her with you, and make a separate house, and don't go there at all. Anyhow you will have to pay maintenance, so instead you will be paying rent and her expense.
And change your attitude. You are not creating sympathy by saying you want to die. Perhaps, looking at your attitude itself the Judge would have told you to give it a try. Sympathy is for women, they are better off using it. You should use your head and come out with strategies.
Feel free to consult further.