The first time, but after that, since you'll have zero balance, you wouldn't have to log in again since there's no fee if you have no balance.
And technically, if you really didn't want to log in and if you have any merchants linked to your Paypal that can do auto-debit, you could make a purchase at that merchant to draw your balance down to zero.
> You can use your PayPal account for any of the following simple actions before December 13, 2022 to avoid the fee: Log in to your account; or ...
So to avoid the fee, transfer out any balance and then log in once a year. Seems doable.