“The marital communications privilege applies in both criminal and civil cases. It only covers communications made during the marriage. Unlike the spousal testimonial privilege, this privilege does not end when the marriage does. Either spouse can assert the privilege long after a divorce and prevent the admission of testimony pertaining to confidential statements made while the parties were married.”
https://clementlaw.com/spousal-privilege-what-is-it-and-what-happens-to-it-after-divorce/