Here's what it says to me, and pretty clearly:D&C 132:26 Verily, verily, I say unto you, if a man marry a wife according to my word, and they are sealed by the Holy Spirit of promise, according to mine appointment, and he or she shall commit any sin or transgression of the new and everlasting covenant whatever, and all manner of blasphemies, and if they commit no murder wherein they shed innocent blood, yet they shall come forth in the first resurrection, and enter into their exaltation; but they shall be destroyed in the flesh, and shall be delivered unto the buffetings of Satan unto the day of redemption, saith the Lord God.
If you are married in the temple there is NOTHING either of you can do to prevent you from coming forth in the first resurrection and entering your exaltation (i.e. the Celestial Kingdom). If you commit any sins, no matter how heinous, with the sole exception of murder (and denial of the HG, as we read later), you will have to suffer for them between the time of your death and resurrection, but you will be fully atoned at that point.
Verses 15-19 explain that marriages not performed by proper priesthood authority are dissolved at death and the individuals go on to be angels in the hereafter, but for those who are married correctly, even if they commit "any sin" and "all manner of blasphemies," are promised:
20 Then shall they be gods, because they have no end; therefore shall they be from everlasting to everlasting, because they continue; then shall they be above all, because all things are subject unto them. Then shall they be gods, because they have all power, and the angels are subject unto them.