No, the google account will stay intact even after factory resetting your device, it's a by-default function for most android phones. Put in simple words, if you factory reset your device, it will trigger the FRP (Google Factory Reset Protection) to increase the security level. If you know your google account password, everything is good. But if not, you will need to download this application.