If the two are very devoted to God and does not want to displease God by all means, they will stay together for the sake of God as God is not a fan of divorce. Regardless of what religion you are from. If they hold different interpretations of their own religion that may cause conflict in their relationship