Glad you asked...
Opiates can range in how long they can stay in your system. The main factor is always the amount that is used, and how long the user has been using it. There are some basic guidelines however. You can find more information here:
http://www.ohsinc.com/how_long_do_drugs_...