When my parents Divorced, Max was ok because he stayed with me, & when I went to dads so did he, & when I moved with Dad so did he. Both my parents have tried very hard to make things easy for the dog.

But in ur case, maybe a foster person from a shelter could care for the dog temp