Go home and tell your wife! If things get heated you can leave or, if you feel like she's going to need some time to cool off, call her and tell her then give her a couple of hours to take it in before you come home. I think my husband was really scared to tell me and wasn't expecting me to react in such a supportive way at first. I'm one of those people that tends to react out of fear instead of logic and why would this situation be any different? This time though, I recognized that fear wasn't going to help either of us and that we needed to bond together to get past the blow. Hopefully your wife will realize that same thing.
Remember, your worth isn't in your job. Give yourself some time to deal with the shock of being fired than get back in the game and chase something that's important to you. Perhaps this job loss was a blessing in disguise and the chance for a fresh start.