Gorilla Glue does have a shelf life, however, sometimes bottles last years and years. As long as the glue is liquid it is good and usable.
Generally, if the bottle has been opened, you have about a year shelf life. To prolong this, make sure you squeeze all the air from the bottle and replace the lid tightly while you are still squeezing the air out. Then store in a cool, dry place.