Whether or not they can take a legal action against you, depends upon the termination clause contained in your employment agreement.
In case it was mandatory for you to serve a notice period of 60 days, they can definitely take an action against you.
Having said that, if no training was imparted to you and thus, the co. did not incurred any expenditure on you; and you can prove this, they cannot coerce you to compensate them in lieu of not serving the notice period.
Hence, do not worry. At any time they take an actin against you, you will have a legal recourse against it.