I am asking because I noticed this is not something all exchanges do. Also super paranoid question, if an exchange prevents you from withdrawing for 24h after disabling 2fa, would I be safe from a hack on an exchange if my account fell under this category? Like if I were paranoid enough, to make sure my funds stay locked on the exchange, I would disable/re-enable 2fa every day to ensure that the exchange does not allow a withdrawal if say there were a hack.
Two factor authentication typically means that to get access to your account, you will need to enter a one time code sent to your phone, so yes, your funds will typically be safer since merely obtaining or guessing your password won't be enough to provide an attacker access to your funds.