I don't know if this really qualifies as a "bug" so much as an oversight; dead dupes keep ownership of things like beds and can trigger motion sensors. Would it be possible to make certain things ignore corpses? I can understand them having weight, but they don't move and aren't going to get annoyed at another dupe sleeping in their bed.
Steps to Reproduce
Have a dupe that owns something die. Or have a dupe die under a motion sensor.
This issue has not been confirmed by a developer yet.