The static charges remain on an object until they either bleed off to ground or are quickly neutralized by a discharge.
The electric charges stay on an object until they either move into the ground or get evened out by a discharge.