Default expire value for caching

Is it good idea to use expire time for cache as public property?