If your device has any security method such as Pin or pattern, you will be required to access your Google account to proceed with the Hard Reset, so in these cases, you will need to have a Wi-Fi connection during the process.