"You never want to break up a family," the singer, 43, explained. "That wasn't my dream. My dream was for us to always be together. But things don't work out, and you feel like it's the better choice. If I didn't feel it was the better choice, I wouldn't have done it, you know?
Now that they've both managed to move on, Lopez said she's pretty proud of how she and her ex, whom she wed in 2004, are handling their co-parenting duties.
"We're doing good with it. We love our kids and we have love for each other and we always will," the Bronx-born beauty shared. "We were friends from before and we're friends now."
And though Lopez, who is currently dating choreographer Casper Smart, has been wed three times (she was married to Ojani Noa from 1997-1998 and Cris Judd from 2001-2003), she confessed she still hasn't given up on the idea of the "happily ever after" -- and added that she's more than willing to "work for it."