If the device is locked with a passcode, maybe, so they can be sure the touch screen got assembled properly and works correctly. The Apple ID password, absolutely not.
I personally would not do this, instead I would go to the shop to unlock it for them, possibly erase the device on the spot, then let them play with it.