There are two types of dependents--qualifying child and qualifying relative. Unfortunately you cannot claim them as either type of dependent. You cannot claim them as qualifying child dependents because they do not meet the relationship test. A cousin is not allowed to be claimed as a qualifying child. You cannot claim them as qualifying relative dependents because they did not live with you the entire year.