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 used to think like you, bitcoin wallets don't have a location, but today i learned that i was wrong. Yesterday El Salvador launched it's own wallet App with the goal of providing $30 in bitcoin to all the citizens who use their wallets. If you want to read more about the wallet i will leave a link for you.
https://www.trustnodes.com/2021/06/25/el-salvador-unveils-chivo-wallet-30-bitcoin-for-every-userI already lost all my bitcoin in a boating accident.
I'm curious how does one lose bitcoin in an accident?
You should ask this to Snowden

Some months ago he said the same on twitter:
To the extent I own crypto (unless and until it has been lost in boating accidents)
Sournce:
https://ekoroi.com/cryptocurrency-edward-snowdens-thoughts-on-bitcoin-angers-maximalists/