"What people call love is just a chemical reaction that compels animals to breed.
It hits hard Morty, then it slooowly fades. Leaving you stranded in a failing marriage.
I did it.
Your parents are gunna do it.
Break the cycle, Morty.Focus on science."
I don't know if I fully believe that Rick was the problem back in his relationship with whoever "Mrs Sanchez" ends up being. Yeah he left but maybe She didn't want him there anyway.
Focusing on science gave Rick something to do since his life was empty without his family. Maybe he did what Beth and Jerry always wanted to do and split up. Maybe he didn't want to leave Beth behind. Maybe he did it for her sake.
I dunno, maybe not. Don't analyze it.