As has been indicated, your friend isn't eligible for JSA (unless you've forgotten to tell us about any disability issues he/she might have):
https://www.gov.uk/jobseekers-allowance/eligibility
If he/she lives with a partner who's in work (other than with only very low earnings, e.g. from working just a few hours per week), it's unlikely that he/she will qualify for Universal Credit either, as the means-testing system looks at the combined incomes of such couples, rather than at individual incomes.
However if he/she lives alone then it's likely that he/she will qualify for Universal Credit.
The rule is "If in doubt, apply!". As long as the application is entirely truthful, there's absolutely nothing to be lost by having a go!
https://www.gov.uk/universal-credit/eligibility