Unfortunately, no. If you or your spouse could participate (even if you declined coverage) in an employer's health plan at any time during a given month, you cannot take the deduction for that month. However, payments for those months are deductible on Schedule A if you itemize deductions and the premiums were paid with post-tax funds.
Deducting Health Insurance Premiums If You're Self-Employed