Kristen Bell and Ted Danson have been cast in NBC’s new comedy “The Good Place” from “Parks and Recreation” showrunner Mike Schur. NBC announced the casting on Tuesday.

With his starring role on “Good Place,” Danson would not return to “CSI: Cyber,” in which he currently stars, should CBS order a third season.

“He would not be returning,” CBS president Glenn Geller confirmed to Variety and reporters Tuesday at the Television Critics Association press tour in Pasadena, Calif., regarding “Cyber.”

As for Bell, who stars on “House of Lies,” the series is set to launch its fifth season with Bell sometime this year. Showtime has not picked up the show for anything beyond Season 5, but should the Don Cheadle-starrer be renewed, Bell would return and juggle both shows, as her “Lies” deal stipulated that she could do both series.

In “The Good Place,” Bell will play Eleanor, a woman from New Jersey who comes to realize that she hasn’t been a very good person. She decides to turn over a new leaf by learning what it actually means to be “good” or “bad,” and then trying to make up for her past behavior. Danson will play Michael, who, through an unlikely set of circumstances, comes to be Eleanor’s guide through her self-designed self-improvement course.

The comedy, which will premiere in the 2016-17 season, landed a straight-to-series 13-episode order.

“The Good Place” hails from Universal Television, 3 Arts Entertainment and Fremulon, Schur — who also exec producers Fox’s “Brooklyn Nine-Nine” and Netflix’s “Master of None,” both hailing from the NBC-owned Universal TV — will serve as exec producer with David Miner.