A 55-year-old part-time computer science lecturer resigned from Taisho University in Tokyo on Thursday after being found naked in a corridor.