Get your taxes done using TurboTax

Is it necessary to live together for the whole year, like from Jan 1 to Dec 31? and does the same applies to the State and Federal levels?