As per today, laws are not uniform around the globe, even in a single country like the US. Connecticut, Idaho, Oklahoma, Rhode Island, and Indiana are the only states so far to have laws concerning post mortem digital asset management. And even within this group, assets are not classified evenly : for example, 2005 Connecticut only considered an email address in its text.
However, the common point is that the aim of passing laws is to grant access to the digital executor of the dead person.