First, not all basement rooms require a legal exit window, but basement rooms are not allowed without this window.
Nowadays, every room the size of a bedroom with a wardrobe is considered a bedroom, regardless of what is planned. When it comes to size requirements, expect that you will need a window with a 5.7 square foot opening.