After the rejection you are banned up to 2 years. The length of the freeze period does vary by office. You cannot actually reapply earlier than the ban is over. You can ask HR about the cooling period exactly in the office where you would like to reapply.
I would recommend you use this time for upgrading your profile significantly, getting relevant work experience, and building relationships within the targeted company. This way you'll make things work when reapplying next time.
Hiring an experienced coach to get guidance would be a great option to maximize your chances.
Do you need any further help?
All the best,