Jake, I think it's great that you found a place close by and will be spending some major time with your kids while your wife works nights.
As long as you are very much involved in your kids lives and you both keep them out of your personal issues with eachother, they will be spared a ton of burden.
I'm so sorry to hear of all your losses and I can relate because My father died when I was 21, my best friend since we were kids died of cancer 5 years ago and my ex (sons father) died a few years back. My fathers death hit me the hardest and I too got depressed for some years.
I had never thought of it before now, but I had my affair with a married man not long after my father died, so maybe there's a connection.
Not that the connection would give us an excuse, but just something that makes me wonder.
I think you're doing the right thing by moving out, yet staying involved in your kids lives and I wish my ex had done the same thing.
He moved out, but there was little involvement with him and our son, so he was a real dick! My son suffered and I couldn't do a damn thing about it. I begged the man to take part in our sons life, but he prefered spending all his time with his girlfriend, which he brought with him on his rare visits with our son. I could write a book on all the pain this man caused our son, but you get the idea. Our son suffered and even though his father is dead now, I'll always resent him for what he put my baby through. May he rot in hell! Yeah, I'm a little bitter
I have a huge amount of respect for people who strive to do the right thing and I think you're doing just that. The most important thing is to always be there for your kids Jake.