Get your taxes done using TurboTax

Yes,  that time is treated as a "temporary absence".  Say he lived with you all year