No. You cannot only include his income for the time he was a resident. You would need to include his income for the year to determine if you can claim him. If his income for the year is more than $5,050 then you would not be able to claim him as a dependent.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"