Is a distribution from a qualified plan free from penalty if this plan was a result of a direct rollover that was 5+ year qualified plan. I am unemployed to this day

This distribution was from a new plan that was transferred from my old employer and was 5+ years old.  Will this make this dist.  be subject to penalty.  I had a hardship of losing my job?