For my wife and I, whether a death would affect our decision would depend on the cause of death.
If it was a murder where the assailant is unknown, we probably would not buy for fear there is some sort of continuing grudge against the family. We can’t exactly hang a “the XYZ family has MOVED and no longer lives here!” banner across the front of the house.
If the death was of natural causes, it might give us pause if it happened recently (like the 3 year figure) but price fixes everything. 🙂 For the right price, we’d buy it!