Birth control

I was wondering.. how long does it takes the depo shot to leave your body after you have been on it for a year or two?