Correct

睡眠 vs 睡觉

/ shuìmián vs shuìjiào / 
Strokes

Definition

睡眠 is a Noun, and 睡觉 is a Verb-object phrase, which means [sleep].

Example

睡眠 is a Noun and is more literary; 睡觉 is a Verb-object phrase that is very colloquial.
1) In examples ① ② 睡眠 is used; if 睡觉 is used instead in example ②, it is no longer a noun but a phrase;

2) In examples ③ and ④, only 睡觉 can be used, not 睡眠.
1
Rén
人
měitiān
每天
yīnggāi
应该
bǎozhèng
保证
bā
八
xiǎoshí
小时
de
的
chōngzú
充足
shuìmián
睡眠
  
。

Everyone should sleep at least eight hours a day.

2
Chī
吃
dà
大
hóngzǎo
红枣
yǒulìyú
有利于
shuìmián
睡眠
  
。

Red dates are good to your sleep.

3
Tā
他
zuìjìn
最近
shuìjiào
睡觉
zǒng
总
shuì
睡
bùdà
不大
hǎo
好
  
。

He has been unable to have a good sleep recently.

4
Zuótiān
昨天
lèi
累
le
了
  
,
yèli
夜里
shuì
睡
le
了
yī
一
dà
大
jiào
觉
  
,
jīntiān
今天
qǐ
起
de
得
yě
也
bǐjiào
比较
wǎn
晚
  
。

I got up late today for I had a long sleep due to yesterday's weariness.