If you gained stacks while playing in any Dark Zone and died, you won't lose your stacks if you respawn in the DZ safe house.