A straight spine is essential in meditation. You can sit on the floor cross-legged, or you can sit in a chair.
You can even walk while you meditate—the important thing is to keep a straight spine. This will allow the life force energy to move freely throughout the body.