Avril Lavigne Works With Ex “All the Time”

 Denise Truscello/WireImage.com

Avril Lavigne isn't letting divorce get in the way of her relationship with ex Deryck Whibley.

"He's one of my best friends, and we work really well together and we stay in touch," the singer, 25, told Ryan Seacrest on his KIIS FM radio show Tuesday. "I think we're very lucky. We've been friends for a really long time and we always will be family. We have a connection. Things are good. I'm really grateful for that."

Lavigne, who is a guest judge on this season's American Idol, adds that they "still work together all the time," even though she filed for divorce from the Sum 41 rocker in October after three years of marriage. 

She even enlisted Whibley to help with her new album, Pink Crust.

"Deryck has done a lot of production on this album and mixing," she says, adding that he even helped on the song she was asked to write for Tim Burton's upcoming Disney film, Alice in Wonderland.

She admits that Deryck and their relationship were the inspirations for most of her songs.

"I’ve been writing this album for awhile now," she said. "A lot of the songs are really personal to me and honest."

Sign up now for the Us Weekly newsletter to get breaking celebrity news, hot pics and more delivered straight to your inbox!

Want stories like these delivered straight to your phone? Download the Us Weekly iPhone app now!