mb12345,
Your friend will have to wait 5 years. The 3 year PR requirement is only applicable if your PR status was obtained through marriage to a US citizen, and you remain married to that person at the time of filing your N-400.
Hope this helps.
vibro.