I leave parsnips in the ground and dig them up when needed, but both can be put in a bucket etc of slightly damp sand or peat, kept in an unheated covered place like a shed or garage. If the container is left outside, cover it with polythene to keep the rain out.