From what I have read, assuming it is properly dried and moisture free and stored properly the opium will outlive you, your great grandkids could get high on it.
The numerous stories of antique medicine bottles found on ebay and at garage sales still providing highs backs up the academic claims.