No, but if you install the root version of avast a factory reset will not prevent avast from working.
So even after a factory reset you can still control/find the phone with the sms commands and through https://my.avast.com