A D.C. deputy mayor — who resigned this week after a personal trainer accused him of assault and a resulting police statement triggered questions about whether he was living in D.C. — defended his living arrangement, saying in an interview that he was staying part time with a friend to meet the requirement that high-level officials live within city limits.