Yes.
1. Crabs are scavengers. If a crab dies at normal room temperature, bacteria in the body will multiply, decompose the crab meat, and produce a small amount of toxins. It is generally recommended to eat crabs that have died at room temperature within 20 minutes.
2. If the crabs died in the refrigerator, the shelf life of such crabs can be appropriately extended under the low temperature conditions in the refrigerator. It is generally recommended to eat them within 3 to 4 hours.