survival mode?

Do you keep all your resources in storage, if you die?

If you stored resources in chests, those will stay exactly where they are when you die. The only things that are effected are what you are carrying. They drop when you die and you have to pick them up before they disappear.

Just do what she said but keep them at your reset spawnpoint

If you die and stuff is in your inventory,it will only be there if you have game rule keep inventory on.(to turn it on in game type /gamerulekeepinventory). If you are talking about a chest,you keep all of the stuff in the chest. Unless you're on hardcore.

Yeah that happens to everything