Yes, it will raise the electricity bill, (if your heating is fuelled by electricity). Every door left open increases the space to be heated, so if it's only a small cupboard, you probably won't notice the increase in your bill, but it will be there. The larger the space opened up to heat will mean an equally larger bill.