The Flash alum will play the lead in The Office honcho’s comedy about humans who are allowed to “upload” themselves to their preferred choice of afterlife after they die.