All corvids are subject to the migratory bird act of 1972, revised since. This makes them illegal to keep as pets in north America.
There are provisions that may supersede this, wildlife rehabbers can care for them until they can go back to the wild. Some special keeping licenses can be had in research and study.
Before this act, corvids were a popular pet for their incredible smarts and tameness. My mother had a pet magpie when I was a kid, not my best friend but had a respectable vocabulary.
Peter Lorre, actor had a pet raven that stared in a couple movies. The crow in the 'Cisco Kid' was a well trained pet.
Seems sad these can't be kept for pets, such amazing birds.