You can apply for optional practical training as early as 120 days prior to your graduation date. (Not a full year. Sorry.) Your application must be at the USCIS Office before your graduation date.