It would just make graves and such useless if it happened to buried bodies.
though a reduced chance would be nice.
i.e. open corpses attract scavengers (or necromancers, take your pick(or parasites that take over dead bodies))
buried corpses have that attraction reduced by about 98%, so 50 buried corpses are as likely to cause trouble as 1 unburied corpse.
the full stone casket/mausoleum thingy(forgot the name) reduce that even more, maybe up to 99,99%.
Of course rooms over corpses/graves/etc. also reduce the attraction a bit while keeping the scavengers out as well. At night the scavengers will try to break in, so you can either kill them or have a sturdy door that you repair every day.