Spouse Contributions to an HSA on COBRA

I have been laid off, but qualify for medicare, and will be covered when my employee coverage expires.  My wife will be going on to COBRA through the plan from my employer until she qualifies for medicare.   the plan will be a High Deductable Plan.  Can she contribute to an HSA (and deduct the contributions) ?  She has income as a health care worker but is not covered by her employer's plan.