Jennifer Lopez and Marc Anthony have been trying their best to co-parent their 6-year-old twins Max and Emme even after their separation in July 2011.

"Marc and I are very good friends, we're very supportive," Lopez, 45, told Arianna Huffington on HuffPost Live Tuesday, Nov. 4 while promoting her new memoir "True Love." "I feel it's my responsibility as a mom when their dad is not there to let them know that their dad loves them very much because that's the doubt that they have when he's not around or they haven't seen him. That's my job to do that the same way it's his job when he's with them to say 'Mommy is working and she loves you.'"

The "American Idol" judge married the 46-year-old singer-songwriter Anthony in June 2004 - just six months after she and Ben Affleck broke up, according to Rolling Stone.

The "I Luh Ya Papi" singer gave birth to their twins in February 2008, People reported.

But three years later, the couple announced their split, with Anthony filing for divorce in April 2012. The divorce was finalized in June 2014, according to the Los Angeles Times.  

In her new book "True Love," which hit the shelves Tuesday, Lopez revealed that her twins were one of the reasons why she decided to end her marriage to Anthony.

"We sat down together," the "Maid in Manhattan" star wrote, as quoted by Huffington Post. "[And I told him] 'This is not working. You know it's not working. We're not living like a family, and I don't see how things are going to change. Neither of us is happy, and the kids are wondering what's going on. I think we should move on with our lives.'"

"Deep down, I still wanted him to put up a fight for our family," Lopez added. "But instead, he said, 'Okay.' On July 15, 2011, we made the public announcement that we were going to divorce. Hardest. Day. Ever."