Loss Conditions by Situation

Whether you lose a bag depends on whether you are carrying it or keeping it in a vehicle. Here is what Game8 and Shacknews report.

Carrying it when you dieLost (Game8); likely lost (Shacknews)
Carrying it when you are arrestedLikely lost (Shacknews)
Stored in a vehicle that gets impoundedLost (Game8)

What You Can Check After Death or Arrest

If you die or are arrested while carrying a bag, you can check the in-game map to see whether the bag is still there (Shacknews).