It is a bad idea to study in bed because you may get so relaxed that it causes you to zone out and studies have shown that working in bed makes it harder to sleep at night.
Answer: Working or doing homework in bed will reduce one's focus because most people tend to associate their beds with comfort and sleep. Doing such activities in bed can lead to a deviation of the brain to become more lazy and possibly fall asleep.