Every week I have to spend 40 hours in an office building inches me closer to being truly miserable.
I only have one rule in life: Don't ever accept being truly miserable. No payoff is worth that.
I think we need to delve deeper into the 'why' behind your transition towards being truly miserable. Is it because you hate the work, the people, the feeling of being in an office building, the fact that you're away from loved ones, etc.? Really, understanding why could provide you with more options. Not that I condone the "Office Space" mentality, but you could implement a lower level of apathy and still abide by your rule of never accepting the feeling of being truly miserable.
I once felt truly miserable at a job in the past. Hated the people, the work, the location, the lack of windows. It really wound me up until I convinced myself that it was
just a job. I was only trading hours/productivity for money and that's the only agreement I made when I accepted the position. I never agreed to work passionately or to attach emotion to my position. I started coming in, doing work, and only interacting with the people I had to. Anytime something shitty happened, I'd shrug my shoulders and say "It has nothing to do with me, it's just part of the job.". The only thing that I took personally was when I had to work 16 hour days because that did cut into who I was and my personal life.
All in all, a job can only get you down if you let it. If you're confident you could find suitable employment to keep you and your family afloat elsewhere, I recommend that you simply not take your job too seriously. Screw caring about review periods or how you'll look to corporate. If they let you go, whatever. You've got a bit of F U money and you most likely wont end up on dire straights.
TL:DR Although being a good worker is important, you don't need to be anything but. Your job does not define you, it's just something you do for money. Don't take it personally.
Basically ourgoal is to have (paraphrasing Warren Buffett) to have enough money to do whatever we want, but not enough to do nothing.
I think that is a more common goal around here than most assume it to be. I'm starting to see it similarly myself.