Yes, when you delete a photo or video from your iPhone, Apple stores it in the Recently Deleted folder for 30 days in the Photos app, before deleting it permanently.