Are you planning on dying before you can bank some sperm that will enable your baby mama to conceive after you're gone, and you want to know the country and/or state with the most favorable or flexible legal and medical system in place? Well, except that you're dead, you're in luck, because Jenny Morber has pulled together an exhaustive article about post-mortem sperm harvesting, preservation, and conception around the world.
Even if this is not on your radar, don't worry: sperm is apparently viable for up to 48 hours after you're dead, so your family will have some time to decide what to do with it.
As you could imagine [but maybe haven't!], the field has come a long way since the 1970s when a California fertility doctor was asked to give a politician's brain dead son a handjob.