The 6 foot long limit you have heard about probably refers to the supposed maximum length of snakes that the Illinois Department of Agriculture limits for pet store sales. This is by administrative regulation, by the way, not state law regarding what you may own. So, for instance, a pet store could sell a hatchling gopher snake, but not one 6 feet or longer.