In an interview with

According to Margulies, There's something great about seeing a woman in her 40s having sex with someone and not being inhibited.

"It depends on the character you're playing. I've been playing the same character for seven seasons, and all of a sudden this season the girl is taking her clothes off," she said.

"I'm seven years older than I was when I started it, and I love it. I mean, it's CBS, so there's only so much you can take off, but there's something great about seeing a woman in her 40s having sex with someone and not being inhibited."

ALSO READ:

ALSO READ: undefined

The Hollywood Reporteralso spoke to other TV ladies including Jennifer Lopez (Shades of Blue) and Kerry Washington (Scandal).

Also speaking on TV nudity, Lopez said "It's the opposite for me once I had kids. In videos and things that I do, I'm very sexy and wear little clothes, but the truth is, when it comes to acting, I did it earlier in my career and now I just don't feel sometimes that you have to do it. I've changed in that sense."

Kerry Washington, who plays Olivia Pope on show said "Part of it for me is the director and the producers and that trust. There have been times in my career where the nudity wasn't about the story, it wasn't about the character, it was just because that shit sells."

ALSO READ:

The seventh and final season of undefinedaired on Sunday, May 8, 2016, leaving Marguiles character Alicia with no man.

Watch a "The Good Wife" clip below.