Depends, some countries will allow your corpse to stay there, if you so wish, other than that your family or whoever is left behind will have to transfer you home, which can be quite expensive. Am also planning on dying abroad and hopefully stay there, but my mum will have to make the ultimate call.