Only valid if 2 crew aircraft
and then with severe limitations.
I suggest you check the current situation the CAA. It was a great facility. For example I as Captain on a PA31, (single crew), could give the hours on a Private flight to a second crew member, provided they handled the controls for the entire flight, and I offered no input. They flew within the limitations of their licence and ratings, ie B rating if applicable, and non IFR if non IR. Similar with night. These were logged as 100%.
The interesting spin on this was that having landed from a days work, when I did not as a crew member...then I could if sufficiently rested go and do a night mail run.....and this was fully approved by the UK CAA.
Things have changed and at present I still believe this situation remains correct.
The important aspect is to remain within your licence and ratings.
Good flying....