Every casino has a different set of terms and conditions; therefore, you must go through their website and find out more about the validity period of their no deposit bonus. In general, most of the casinos offer a validity period of 30 days.
Once you claim the bonus, the validity gets active and you must claim your winnings within the validity period otherwise the winnings will be considered null and void.