No he was not. He was here on a student visa. That does not a "legal resident" make. Anymore than having a tourist visa for a visit to Disneyworld would.
Yes it does. While he was a student, he resided legally in the state of Hawaii. That makes him a legal resident. Of course, he was not a permanent resident, but a resident nonetheless.