Unemployment and the lookback provision

If someone only has unemployment for the tax year can they still use the lookback provision or do they have to have some earned income?