if i put a pillow under my neck and head, would it hurt to do sit ups and crunches on the floor?

since everytime i try to do crunches n sit ups on the floor i put a pillow under my neck n head. it feels better. is it the same effect of doing crunches n sit ups on the floor w/ a pillow