The short answer
Usually not. A non-fasting test is fine for most people.
If your triglycerides come back above 400 mg/dL, your clinician may repeat the test after fasting.
Source: 2018 AHA/ACC cholesterol guideline; EAS/EFLM consensus, Eur Heart J 2016.