Tea Leoni and David Duchovny, who tied the knot back in 1997, have had a rather up and down relationship in the last several years. They initially separated in 2008 while the 'X-Files' star entered rehab to seek treatment for sex addiction, but the pair reconciled shortly after, and then split for a second time three years later in 2011.

David Duchovny
Duchovny and Leoni split for the second time in 2011

Their 17-year marriage became officially over in June of this year when Duchovny secretly filed divorce papers, citing "citing an irretrievable breakdown of the relationship," as the reason of their separation.

More: Gillian Anderson, David Duchovny Tease 'X-Files' Movie at Comic-Con

For the first time ever, Leoni recently opened up about her failed marriage in the Sept 21st issue of Parade magazine, in which she admitted she only has love for her ex-husband.

"Listen, David gave me the two greatest gifts on the planet; I don't know how I could ever hate him. We've always loved each other, and we adore these kids," the 'Jurassic Park 3' actress said of her children, Kyd Miller, 12, and Madelaine West, 15.

"I'm not playing stupid-I understand feelings can get hurt and things can get icky. We've had our moments like that. But these kids are too important, and he feels the same way. I know it," she continued. "He's a good guy."

More: FRIENDS: The Stars Who Auditioned For Monica, Ross, Rachel, Chandler and Joey

Post-breakup life for Leoni also includes a return to the small screen as she is currently starring as the Secretary of State in the new CBS show 'Madam Secretary,' which premiered today (Sept 21st).

Tea Leoni
Leoni is starring as the Secretary of State in the new CBS show 'Madam Secretary'

"I put [the script] down thinking, I'll regret it if I don't do this," she said to the magazine about her new role. "She's a different kind of woman than we've ever seen on television or in politics."

To prepare for the part, Leoni contacted the former Secretary of State Madeleine Albright, and spoke about her career experiences. "Facing sexism as the first woman in that job, she told me things I'll take to the grave," Leoni said. "She did say that although there was a concern about sending a woman to negotiate in areas where women are not revered or educated, 'All the trouble I had was here, never over there.'"