That will depend if you can change your server’s PHP configuration or not. Most servers use a 30-60 minute session length. The session gets destroyed after that. You will need to change that value to however long you want.
The remember me feature will use a cookie on the client’s browser to remember the user for a few days.