you can reapply exactly one year after the date on your rejection email. i would advise you to apply when you are ready for another go, because you will never know whether or not they are willing to give you a second chance. it doesn't hurt anyway.
they will keep your file, regardless of whether you apply or not, though i am not sure for how long.