A New Jersey appeals court ruled Wednesday that a legal immigrant, who temporarily returned to his native country and then came back to New Jersey, may still be entitled to Medicaid benefits.

A three-judge Appellate Division panel in a published decision Tuesday said the petitioner, identified only as K.K., is qualified to receive benefits because of the length of time he lived in the United States before he temporarily left for his native country, India.