Denise Richards
Denise Richards Reuters

It looks like Charlie Sheen and estranged wife Denise Richards are getting back together.

Richards has recently agreed to appear in an episode of Sheen's new television series, Anger Management.

The 41-year-old actress will portray Lori, a new business partner of Sheen's on-screen ex, Jennifer, as played by Shawnee Smith, TVLine has reported.

Richards and Sheen got divorced in 2006 after four-years of marriage. They have two daughters Sam, 8, and Lola, 6.

The actor seems to be making his new sitcom a more of a family affair. He recently announced that his real-life father Martin Sheen will play his dad on Anger Management.

FX network has confirmed to The Wrap that Richards will guest on the television series which is set to premiere on June 28.

And this isn't the first time the former husband and wife have appeared on TV together. Earlier, Richards appeared with Sheen on Spin City and she played his ex on Two and a Half Men.

Richards appeared as a guest on NBC's television series 30 Rock. She is also set appear in Lifetime's upcoming remake of the film Blue Lagoon.

The upcoming television series Anger Management is based on the 2003 movie of the same title and Sheens stars as Charlie Goodson, a former baseball player with emotional problems who later becomes an anger management therapist.

Watch the official teaser from Anger Management here.