In some places, it may be legal to keep certain species of squirrels as pets with the appropriate permits and licenses. However, in many regions, it is illegal to keep native wildlife, including squirrels, as pets due to conservation concerns and the need for specialized care.