If you know the date you'll be moving, it's good to let your provider know about 30 days in advance. Some providers only require a couple of weeks, but the more prepared you are with these things the better - and the smoother your transition to a new connection should be.