The Automated logout - module enables the site administrators of setting up the site so that different user roles may get logged out automatically after some period of inactivity.
For more information see the project homepage:
http://drupal.org/project/autologout