I've had a few deaths on board and there is no set procedure it just depends on circumstances, aircraft type, pax load etc.
...his widow had asked if she could use her dead husband's duty free allowance. The travelling British public at their best!
When carrying coffins in the hold I have often asked the same as the captain as a joke. One customs officer said yes, but only if the deceased carried it in.