How long does the hepatitis b antibodies from the vaccine stay in your body?

20+ years. Anti-hbs, antibody induced by hepatitis b vaccine, is expected to stay lifelong and provides protection against getting infected with hepatitis b at least 20 years.
Generally 12 yrs. Or more. You can be retested for antibody titers if there is a question of potential for exposure.