Stop in for a cup of coffee

Don’t personal checks over a certain time period become invalid and unable to cash as well? I can’t remember what the cutoff is, but I’ve had it happen before and was SoL
6 months here in PA.