In most places, it is illegal to keep a squirrel as a pet without a special permit. Additionally, squirrels are wild animals and may not adapt well to living in captivity. It is best to enjoy them in their natural habitats.