Hello,
WooCommerce > Settings > Accounts & Privacy > Allow customers to place orders without an account
Regards