Always be happy around her,
do not gloat,
if you do have the "talk" with her,
just tell her that you realized that this was more about her than about you and you respect the fact that she doesn't want to be with you anymore and that she wants space and you tell her that you feel the same way and that if she feels she can't live in the same home, you would help her find a new place and help her move out, if she asks about you moving out, you tell her that you've decided to live at home with your kids, that's the best place for you.

And that's that, no gloating, no arguing, just be happy because you are home and you are with your kids and you aren't going anywhere.