I assume you mean he’s been doing this after the fact, not that he was doing things the day he was accused of raping her. Anyways, I made some comments in the other thread, so I’ll just touch on the sleeping thing. I think in his situation, if I wanted to try to help prove my whereabouts at night, perhaps a surveillance system or webcams setup around the house. I’m thinking that whenever possible having my cell phone (with the time and date) displayed in view of them, making sure the cameras get glimpses of the news, internet and having at least one (probably the one that watches me sleep) has a view of both me and outside so it could see people as well as weather. Now, no one would have to know I’m doing this, and it would be a last resort, but should I need it, it seems like it might help my case.
For a random person to do this it might actually (I’d think) hurt their case, but I think in his situation he’s got a valid reason for doing it and I think anyone would understand.