This question Does all matter exist forever? has inspired me with a related question: Will life exist forever? Here life is meant in the widest sense. It need not be an organism based on carbon or silicon. Perhaps the answer should focus on: Will intelligence exist forever? Some interesting ideas about this topic are given by F. J. Dyson: Time without end: Physics and biology in an open universe, Rev. Mod. Phys. 51 (1979) 447. But this paper is certainly not the newest state of the art.
On earth, all life will perish the moment this planet no longer bears the conditions necessary for life. Some day, that is bound to happen. For example, we know that the sun can't provide us the energy necessary for life forever.
However, there are trillions upon trillions of other planets in the universe. It would be highly unlikely for earth to be the only planet that contains some kind of life and it would therefore be very likely for life to continue to exist on other planets until those planets no longer bear the conditions necessary for life.
How long this cycle can continue is impossible to know. Neither scientists nor philosophers can agree on whether the universe had a beginning, or whether it will ever cease to exist. It does appear, however, that the universe expands and crunches (either just once or in the form of a repeating cycle). This could mean that there is no life whatsoever in the entire universe at least at the beginning of every expansion and the end of every crunch. However, that's really nothing but speculation, as there may be forms of life capable of surviving a crunch and a subsequent expansion.