Yes, your iPhone will backup overnight as long as it is connected to Wi-Fi and plugged into a power source.