Mostly yes. You can follow this guide to set the iPad back to factory condition. So it is the way it was when you first took it out of the box.
You will need to sign out of your Apple ID on all your services and turn off iCloud.
Look at this link.
Giving your former iPad to a spouse or family member: the quick guide
What to do before selling or giving away your iPhone, iPad, or iPod touch
Find My iPhone Activation Lock: Removing a device from a previous owner’s account
Buying or Selling a Used iPhone or iPad Running iOS 7? Read This First!