to an El Salvador wallet,
Bitcoin "wallets" are not like bank accounts to have a location in a country, unless you are not talking about a wallet and instead an account (sometimes referred to as custodial wallets) in which case you are still the owner of those bitcoins in the eyes of the "tax man" and same tax laws apply and you should consult an expert to know the details in your jurisdiction.
I already lost all my bitcoin in a boating accident.
I'm curious how does one lose bitcoin in an accident?