No. If the ESP resets itself, like with a WDT reset, it doesn't change anything. It just starts the code at the beginning.