From your post, it sounds like you want to erase your iPhone 5 and restore back to factory settings but don't have any service. The good news is, you don't need wireless service to do this, and I can point you in the right direction to learn how. Check out this resource below and let me know if you have any issues.