There are time limits, or "statutes of limitations," for bringing a law suit. They are different depending on the basis for bringing a law suit (like breach of contract, employment matters, medical malpractice, car crash, etc.).
To complicate matters, there are usually shortened time limits to bring a lawsuit against the government. Most commonly, in California you must sue the government within six months of the wrong you are suing about.