I have a number of cases where a couple had both a civil marriage and a church marriage. Sometimes the church marriage was first, sometimes the civil marriage. Often these were done both on the same date, but there could be years between the two events.
There was no divorce.
In Mexico after about 1857 only the civil marriage was legal, and when the birth of a child from a church marriage was registered, it was registered as illegitimate.