Futurama: Season 6, Episode 16
When Bender dies, his disembodied software begins haunting the Planet Express building.