Can I erase my phone six without cellular service?

My iPhone keeps saying t can't connect to the Apple ID Server. How do I fix this?
My iPhone keeps saying t can't connect to the Apple ID Server. How do I fix this?

Do you have WiFi you can connect to?
Duplicate post:

https://forums.imore.com/ask-question/430943-can-i-erase-my-phone-six-without-cellular-service.html

Original thread: https://forums.imore.com/threads/can-i-erase-my-phone-six-without-cellular-service.430942/