depends
as a subscriber you can respec for free at the trainer as much was you want, as a f2p player you'll need to pay a fee that rises every time you respec. its reset to 0 after a week though.
there is also the possibility for a one time fee of (I think) 200 000 credits to purchase the ability to respec wherever you want, witthout the help of a trainer, its called field respec or something like that
so you dont have a comfortable dual spec setup, but as a subscriber, with the fiel respec ability, you can respecc whenver and was much you want.