No more than 2.5 years.
Explanation:
A polar bear cub stays with its mother for no longer than 2.5 years until to cub will leave its mother.