These are two separate objects (even two separate modules in Devise).
First ( remember_for), you should remember the user for a certain amount of time (usually days or months) so that he can enter the application without leaving the login procedure each time.
(timeout_in), , . , , .
, remember_for - , .