The best time to rewire is before you move in or as soon as possible after. Also whilst you are away on vacation or whilst renovation works are being completed. The best situation for any rewire is an empty and unoccupied property for the duration of the works.