Voluntary layoff

Newer journeyman. I took a 6 week call which lined up well with a surgery i have coming up. Problem is the foreman wants to keep me until the job is over (longer than my 6 week call) i can only stay another 2 weeks max so i told him i would need that two weeks to be my last day. So he said "oh you want a voluntary layoff" i said yes but I don't know what that means. Does that mean i'm dragging (i don't want to do that) also does that prevent me from getting unemployment? I could come back after my surgery but i'd be out like 2 weeks and am moving as well. I also don't think the call will be much longer than when i would come back from my surgery. I'm working out of book 2 but want to come back and work here so I don't want to burn bridges. I just am new to the differences as i've never dragged up or anything just had standard RIFs