Neither, a dead cockroach was once living, but is no longer alive. A non-living object has never been alive.