No, if you do not use WhatsApp Web for a long time, it will automatically log out of your account, and you will need to scan QR code again before you can log in again.