The Oscar-winning actress married her Days Of Thunder co-star in 1990 when she was 23-years-old and they adopted two children together before splitting and divorcing in 2001.
Now the actress - who is married to country star Keith Urban - has opened up about her battle with the mental illness.
In an interview with Who magazine, she said: "I got married really fast and really young. But I don't regret that because it got me [my children] Bella and Connor and I did have a fantastic marriage for a long period.
"Then when it didn't work out I had to really dig deep and find my way through depression. I have no regrets about all of it. It was all part of growing up."
She also referred to her daughter Sunday as a 'miracle in my life' after she was born following years of trying.
"I had so much time thinking that wasn't going to happen in my life and trying to understand that," she said. "When it did happen - and for it to be a surprise - that was great. I had tried and failed and failed and failed.
"Every woman who has been through all those ups and downs knows the depression that comes with it. So the way it just happened with Sunday was like, 'What?' The percentages were so low. It is the miracle in my life."
Meanwhile, Nicole has admitted she didn't find it strange peeing on co-star Zac Efron's leg in their forthcoming movie, The Paperboy.
She was required to do the deed for real in a scene where Zac's character is stung by a jellyfish on the beach.
"The peeing thing, I didn't think was that weird, because I was in character," she told V magazine.
"All of that made total sense to me. I just went for it and didn't overthink it."
> CELEB PICS OF THE DAY
Jade Ellis, Elle Henderson, Amy Mottram and Lucy Spraggan X Factor contestants arrive back at their hotel in London
Jennifer Lopez, her boyfriend Casper Smart and her children Emme Anthony and Max Anthony enjoy a day of shopping on Rue Saint Honore Paris
Alexandra Burke outside the Malibu Red launch party held at the Salon Club, London
Nicole Scherzinger leaving the X Factor hotel where she had dinner with her group before heading off to Annabel's private memebers club for Ben Caring's Birthday. London
Leona Lewis, arriving at Annabel's private members club in Mayfair. London
Lydia Rose Bright Style for Stroke - launch party held at No. 5 Cavendish Square. London
Millie Mackintosh Style for Stroke - launch party held at No. 5 Cavendish Square London
Myleene Klass leaving the Classic Brit Awards 2012, held at The Royal Albert Hall London
Lady Gaga is mobbed by fans as she leaves the Hotel Principe di Savoia in Milan
Kim Kardashian exits the Webster Hotel with Larsa Pippen and her daughter Sophia Miami
Jude Law arriving at The Groucho Club London
Frankie Sandford of the Saturdays out and about in Hollywood Los Angeles, California
Chantelle Houghton seen loading boxes into her Range Rover car Essex
Agyness Deyn arriving back at her hotel. London
Also on HuffPost: