You know what isn't temporary? A child sensing and knowing each and every day that his or her parents can't stand to be in the same room with each other. Children, while certainly having a capacity for untold stupidity, are incredibly perceptive little bastards. Studies show that they are very capable of picking up on all of that simmering hostility, and that it has a negative effect on everything they do. A two-parent home might be better for kids, but not if those two parents fucking hate each other. Wait, did we really need science to tell us this? Some of you have lived that shit.
Otherwise, assuming a divorce doesn't go full The Wars of the Roses or that the parents don't spend the majority of their time talking shit behind each other's backs, the kid is probably eventually going to be just fine ... because what's best for the children is knowing that their parents are happy. Now, since a happy marriage is the optimal condition, you do have good reason to try to work that shit out first. So, go to couple's counseling or do whatever you need to do. But, the goal is to actually fix the marriage -- not to prolong a toxic situation while you walk around feeling like a martyr and secretly blame the kids for ruining your happiness.
If you find yourselves negotiating the boundaries of "Dadastan" or "Momstonia," maybe it's time to just call it a day.