According to John Resig, it's not possible to specify expiration. It's completely up to the user.
http://ejohn.org/blog/dom-storage/
Obviously, your own application can actively remove stuff if it decides it's too old. That is, you can explicitly include some sort of timestamp in what you've got saved, and then use that later to decide whether or not information should be flushed.