That is entirely ISP dependent and many don't actually work like that. Your cable modem gets a specific IP for as long as Comcast or whoever sees fit, restarting does nothing on the WAN side.
On cable ISPs, oftentimes, changing the router's WAN interface's MAC address and then rebooting the modem will get you a fresh IP address, but rebooting the modem without first changing the router's WAN MAC address will get you the same IP address.