Michael Buckner / Getty Images North America 1 / 4
Michael Buckner / Getty Images North America 1 / 4

Still family. After finalizing their divorce earlier this year, Tea Leoni and David Duchovny have remained on friendly terms as they co-parent their children. 

"David gave me the two greatest gifts on the planet," Leoni, 48, told Parade magazine of the couple's daughter Madelaine, 15, and son Kyd, 12. "I don't know how I could ever hate him. We've always loved each other, and we adore these kids." 

PHOTOS: Celebrity splits of 2014

After a rocky few years and at least one reconciliation, Leoni and Duchovny, 54, divorced this past August after 17 years as husband and wife. In 2008, the "X-Files" alum infamously checked himself into rehab for sex addiction. He and Leoni separated in 2011

"I'm not playing stupid," she continued to Parade. "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. He's a good guy."

PHOTOS: Celebrities who have been to rehab

The "Madam Secretary" star and her ex-husband share custody of their children. Leoni told Parade that Madelaine and Kyd spent "most of the summer" with their dad.

"It's fun to spend time as this unit that we still are, and it’s easy to communicate about them," she added.

PHOTOS: Hollywood's most expensive divorces

Duchovny agreed on the couple's friendly vibe. "Téa and I had a long time together," he told Parade. "We'll always be connected and there for each other."