When a pearl is cooked, it loses it's protein content and damages the original structure.
As Caitlin mentioned, it's a nice keepsake but has no great value other than being a lucky find and a fun story.
Sometimes these kind of finds can be used to replace lost stones in a ring, brooch or pendant.