You can, when first using, use daily for a period of time before your brain makes changes where it NEEDS the opiate. It's different for everyone, but sooner or later everyone will get dope sick if they use daily for long enough
As an example--I started using heroin (sniffing)--I used at first occasionally. Then once I started daily use it took many months til I woke up one morning sneezing and fatigued and shivering. And compared to down the road those were mild symptoms. But that was my first aha! moment. Up to that point I didn't get what my friends were whining about not feeling good in the morning.
Once I started shooting the sickness got worse. It also progresses. For instance now, if I am clean I can use one day and feel a little hungover the next day. Same for 2 days in a row but a little worse. But it I would use 3 days straight I'm waking up in minor withdrawal. So over time where you could use months daily and not get sick becomes maybe a week straight before getting sick and eventually gets to the point even back to back days result in dopesickness.
So if you don't get sick, you're a beginner and your brain chemistry hasn't changed yet. Same goes for your friend he is either fairly new to using or doesn't use consecutive days
My advice to you is never use consecutive days. Then you'll never have to worry about withdrawal