You can even withdraw earlier, however, you will lose the interest that was generated during that period.