is it because we have the same appleid on our phones?
Yes. An Apple ID is only meant for one person. One of you needs a new one: http://appleid.apple.com.
Is AirDrop based on Apple ID or iCloud ID (they're not necessarily the same). My wife and I share an Apple ID for purchases, but separate iCloud IDs.
Retrieving data ...