The film is, in fact, based on a real life event. Two scuba divers were left behind when the dive boat that took a group out went back without them. They were stranded in waters inhabited by sharks.
It just states its based on actual events. Its kinda vague in that aspect. I dont ever remember hearing or reading about it before it came out. A story line that good would have made headlines around...