My wife has said she is done with our marriage, she said she was over me and that she does not have any feelings for me anymore.
This is as common as pie. Do not give up. Do not lose hope. Do not move out. This is a cycle that usually take 1 year to work out, but maybe longer.
Men have a habit of being total c*********s and stooges until they get their wake-up call. Make the changes and make them permanent. Do not be resentful. Do not be hurt. Do not be needy. Do not drive her away.
Pretend this is your chance to date the pretiest girl in high school, who hates your guts and thinks you are a revolting nerdish jerk. You have to pull out all of the stops to convince her to like you. You have to play it cool and develop the attitude and swagger that attracts her to you. You have to transform her opinion of you. You have to transform into someone that you are not. Go read every book you can get on how to flirt and pick up women, go read every book on how to treat your wife. Also read the book Divorce-Busting. Never watch TV again. Don't do anything with your free time that isn't A) Helpful, or B) Self-Improve.
Get active and fit, re-engage in a few active(non-obsessive) hobbies just like you would if you were going back on the market to get a new girlfriend. Study the art of dating, so that if she ever gives you a chance to take her out, you can wow and amaze her with how much she suddenly finds that she likes you. Don't pressure her for anything, just be fun and happy and cheerful, and likeable. Don't date anyone (it will only create complications, and besides, you want her, she may decide to compete with you if she feels jealous).
You are not the only one that this is happened to. I think I read it happens in 30% of marriages, with most couples staying together (even if one or both end up having affairs).
Women's feelings are like a light switch. Whent the switch is off, they can't even remember what it felt like to like you. When the switch is on, it feels as though they always liked you. Eventually the switch will turn back on for tiny stretches of time. When it does she will be angry with you again, but thats OK. Your job is to drop any greivance you ever thought you had and let it go. You are going to unceasingly man up and take responsibility for the ways you tortured her with 12 years of continuous mistreatment, but more importantly you are going to show her how likeable, good-natured, fun and exciting you are.