Not always. It depends on your local law or regulation. For safety purpose, some cities and towns required pool owners to built fence or enclosure around the pool to prevent drowning without supervision. Please check your local law for further information.