After getting a physical where he is warned by his doctor to start taking better care of himself, yet still in what he considers good health, Stan celebrates by eating unhealthy foods and continuing to carry on his normal behavior. Francine becomes concerned and Roger volunteers to give him an electrical shock that his body can discharge to momentarily kill him and then revive him, hoping to scare him into treating his health seriously. However, after paying lip service to Francine, he returns to Roger to get more shocks, explaining that he found himself in an ethereal Blockbuster video store where he could relive parts of his life without faring the consequences of his actions. His lack of concern carries over into his daily life, and when he tries to kill himself with a set of defibrillator paddles set to revive him at the proper moment, Francine accidentally triggers the device and she is electrocuted, dying with him.
Stan finds himself in Heaven instead of his usual haunt, but decides to make the best of it. But when a furious Francine arrives and dumps him for getting them killed, he decides he has to get them back to living. He is directed to Hell where contestants vie to escape to Heaven on an obstacle course. Realizing it isn't the solution he's looking for, he offers his soul to the devil in exchange for getting to return life with Francine. There, he takes a new interest in staying as healthy as possible to live longer, as well as taking up physical training to beat the obstacle course that awaits his return to Hell.
Meanwhile, Klaus takes Steve to Arizona State University for a college visit, where is hazed by Klaus' old fraternity. He tries to escape, but is caught and returned by security, who also happens to be the dean. After a week of imprisonment, Steve is rousted by Klaus who informs him that he has graduated from the college for answering a single question in science class, becoming valedictorian as well during which his speech earns him a Ph.D and five Bud Ices.