This is actually several questions in one:
1/ Does the survival of polar bears depend on the Arctic Ocean being regulaly frozen over every year?
and, if "yes",
2/ For how long has the Arctic Ocean been regularly frozen over every year?
3/ Were there any polar bears before this time and, if so, where and how did they live?