It depends. If your final divorce papers specifically titled the transfer of funds from your retirement account alimony, then yes, you can take the alimony deduction. However, this sounds more like a property settlement. And property settlements between you and your former spouse are not considered alimony.
See this TurboTax article Getting Divorced for additional information.