Yes, it is safe to sell an iPhone after resetting it. When you reset an iPhone, all of your personal data and settings are erased, so the phone is essentially like a new one. This means that the person who buys it will be able to set it up with their own information and use it without any problems.