Yes, it completely wipes data and restores a device to its factory state although rooted devices could be an exception.