Hi!
U-boat.net indicates instantly fatal damage if a depth charge explodes within 10-20 feet (3-7 meters) of a U-boat.
I would guess that the closer the sub is to its crush depth the more likely it is that the depth charge's "water hammer" effect will be enough to cause a fatal hull breach, but I have no idea if this is modeled in the game or not.
Pablo