Yes and no as it depends on your device, website or software. This is because two-factor authentication is a security measure that is meant to stay in place once it has been enabled. Turning it off would defeat the purpose of having it in the first place. On Apple devices, there is no way to turn off two-factor authentication once it has been enabled. So if you've turned it on, you'll need to keep it on.