No. When choosing a bedding for your corn snake it is best to avoid anything dusty or drying, such as cat litter or sand. A better alternative would be chipped aspen, due to its sterile and dust free nature.
Sand is an acceptable substrate for corn snakes to live on but it is not ideal as it is much harder to clean.Astroturf is more frequently used or another form of indoor plastic carpeting such as lino is ideal as it makes cleaning easy and prevents the growth of bacteria.
Corn snakes will do best on artificial grass sheets. Using sand in a snakes cage can lead to impaction if they ingest bits of the sand. This will lead to a slow and painful death of your pet. Only use artificial grass sheets or an approved product designed for use in small breed snakes.