If water is placed in a refrigerator overnight and then taken out before being put in the freezer, it will generally remain in its liquid state. The refrigerator's temperature is typically set around 2 to 7 degrees Celsius (36 to 45 degrees Fahrenheit), which is above the freezing point of water (0 degrees Celsius or 32 degrees Fahrenheit).
During the time spent in the refrigerator, the water will cool down but not freeze. When removed from the refrigerator and placed in the freezer, the water's temperature will continue to decrease, eventually reaching the freezing point. Once the water reaches 0 degrees Celsius (32 degrees Fahrenheit) or below, it will begin to freeze and transform into ice.
The time it takes for water to freeze in the freezer depends on various factors such as the temperature of the freezer, the initial temperature of the water, and the volume of water. Generally, it can take several hours for water to freeze completely in a standard household freezer.
It's worth noting that if the water is left in the freezer for an extended period, it may freeze into a solid block of ice due to the continuous exposure to sub-zero temperatures.