How to parent object to armature without losing vertex groups
You can select your mesh, go to the properties panel, assign an armature modifier and choose your armature as "object".

If you use Ctrl+P
, "Armature deform" is the same, as long as you are sure not to have choosen "with empty groups", nor "with envelope weights", nor "with automatic weights".