I think that you are referring to a species of coral known as Living Rock. Yes, it can and will die completely. Coral is kind of like a plant. It stays in one place and filters nutrients out of the water to live and to create its exoskeleton. Without constant fresh water (unlike in a aquarium) it will die.