Your Q is a bit loose with specifics here .... under what conditions is the film "lying around" and so on
However, back in the 70s Kodak processed some 120 roll films found in an Antarctic research base, images over 75yrs old and they printed them up as 12 foot wide posters spread across exhibition halls around the world
Several years should not be a problem. If refrigerated it should last indefinitely. Be sure to put the cassette back in the can. Color film is a different issue. It begins shifting color toward blue after just a few weeks.