When you die in the open world, you spawn in the nearest town and ask for a choice. You can transform into a soul that can go through walls(spectator mode) to search your tomb. If you LEFT click on your tomb, you will respawn at your place of death.