Using the abbreviation before graduation implies a level of legal competence and authority that they do not yet possess. It can be misleading and potentially unethical.
Once the student has graduated and been formally awarded the J.D. degree, then they may use the abbreviation in their signature.