When you do a factory reset you delete the login details stored in the modem or router for the internet that allows your ISP to know it is you who is connecting to the internet from that line. These settings can be found in your router under connection or internet settings , if you can't find it contact your ISP.