Yes and these should be detailed in your terms and conditions and should be explained when you first rent the unit. Some companies will require at least a months notice whilst others will accept a shorter period that take you to end of the current rental period.