Spells that bring you back to life, who can cast them, and the cost.
Clone, 8th level, Wizard, 3,000 gp, instantly animates the clone back is a safe area.
Raise Dead, 5th level, Cleric/Bard/Paladin, 500 gp, and can't be used after 10 days. Need whole body to bring back.
Reincarnate, 5th level, Druid, 1,000 gp, can't be used after 10 days, get new body/race. A piece of body will work.
Resurrection, 7th level, Cleric & Bard, 1,000gp, can be dead up to 100 years. Only a small bit is needed.
Revivify, 3rd level, Cleric & Paladin, 300gp, can be dead up to a minute, need whole body basically.
True resurrection, 9th level, Cleric & Druid, 25,000 gp, can be dead up to two centuries don't need any bit of body at all.
Don't forget the bard can also get access to Revivify through magic secrets ability. Thats three different classes that can rez a downed ally I would say most groups would have at least one of them. With this simple spell and 300gp gem stashed for just an occasion you most likely never need any other raise dead spell.
So looking at this bards are your best bet to get raised from the dead. I mean they don't normally have those fickle moral issues, and concepts of the afterlife. Their power to bring back the dead comes from mastery of arcane power not divine.
Think about how much a good tomb, or even fancy headstone and funeral might cost. Most people would rather spend the 1,000 gp to have the wandering minstrel play his bagpipes and raise the dead not wish them farewell.
Think about the price of full plate 1,500 gp. A duke or someone can pay to have 2 of his men in full plate or set aside some gems so that if 3 of his loved ones die they can be brought back.