Deductions & credits

In either scenario if the student is enrolled in an eligible education institution for a degree they can claim the American Opportunity Credit which is more advantageous than the Lifetime Learning Credit as long as the student is not claimed as a dependent. 

But to your question, either scenario would apply to the Lifetime Learning Credit.