If the home was a property that was held for investment (or was a rental or business propety) while you were married, you could claim a loss.
However, if this was your residence while you were married, this would be considered a personal capital loss. Unfortunately, personal capital losses are not deductible.