Yes they were, but I remember them still being separated since Archie gave them a drunken in distress call admitting he didn’t want them to finalize the divorce. I pretty sure they agreed to wait until Archie graduated but then Fred was killed off in Season 4 because of Luke Perry’s death so Mary became an widow which carried remained her martial status in that weird reset timeline for the final season.