Deductions & credits

In your example if they lived in your home for 8 months and you supported them for those 8 months then you would have satisfied the requirement to provide over one-half of their support.

 

The temporary absence of being incarcerated could also apply to the requirement that they lived in your home for the entire year, ie Jan - Apr incarcerated (temporary) and May - Dec in the home.