I had to pay back relocation expenses to my previous company when I switched jobs in 2017. Can I claim this expense on my 2017 tax return?

I had to pay back relocation expenses to my previous company when I switched jobs in 2017 because I did not complete 2 year with my previous company. Can I claim this expense on my 2017 tax return?